package com.sleep.psy.external_server.business.adjustment.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author wenliguo
 * @date 2025年06月17日 16:29
 */
@ApiModel("新增调节记录")
@Data
public class AddPlanRecordReq {

    @ApiModelProperty(notes = "用户id不能为空", required = true)
    @NotNull(message = "用户id不能为空")
    private Long userId;

    @ApiModelProperty(notes = "计划id不能为空", required = true)
    @NotNull(message = "计划id不能为空")
    private Long planId;

    @ApiModelProperty(notes = "计划详情id", required = false)
    private Long planDetailsId;

    @ApiModelProperty(notes = "内容不能为空", required = true)
    @NotBlank(message = "内容不能为空")
    private String content;
}
